package com.example.menuvirtualclient.data;

import android.database.sqlite.SQLiteDatabase;

public interface ISession {

	/**
	 * 
	 */
	void Close();
	/**
	 * 
	 * @return
	 */
	boolean Open();
	/**
	 * 
	 * @return
	 */
	boolean IsOpen();
	/**
	 * 
	 * @return
	 */
	boolean TransactionInProcess();
	/**
	 * 
	 */
	void BeginTransaction();
	/**
	 * 
	 */
    void TransactionRoolBack();
    /**
     * 
     */
    void CommitTransaction();
    /**
     * 
     */
    void EndTransaction();
    /**
     * 
     * @return
     */
    SQLiteDatabase Connection();
    
}
